﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using EventSys.BussinesEntities;
using EventSys.Repository;
using Microsoft.Practices.Unity;
using EventSys.BussinesEntities.Entidades;

namespace EventSys.BussinesLogic
{
    public class UserProfileService:IUserProfileService
    {
        [Dependency]
        public IUserProfileRepository userProfileRepository { get; set; }

        public void RegistrarUserProfile(UserProfile userProfile)
        {
            throw new NotImplementedException();
        }

        public UserProfile UserProfileById(int id)
        {
            throw new NotImplementedException();
        }

        public void EditarUserProfile(UserProfile userProfile)
        {
            throw new NotImplementedException();
        }

        public void EliminarUserProfile(int id)
        {
            throw new NotImplementedException();
        }

        public List<UserProfile> GetFromAllUserProfiles()
        {

            return userProfileRepository.GetFromAllUserProfiles();
        }

        public List<UserProfile> GetFromAllUserProfileByCriterio(string criterio)
        {
            throw new NotImplementedException();
        }


        public List<UsuarioDTO> GetFromAllUserProfilesDetalle()
        {
            return userProfileRepository.GetFromAllUserProfilesDetalle();
        }
    }
}
